package com.atguigu.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author : zjj
 * @date : 2021/6/16 17:32
 */

@Configuration
public class ApplicationContextConfig {


    @Bean
    public RestTemplate restTemplate()
    {
        return new RestTemplate();
    }




}
